/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.generate.entity.GenerateAdvertise
   Module Description   :

   Date Created      : 2009/12/30
   Original Author   : feeling.wang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.generate.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yaodian100.core.common.entity.BaseEntity;

/**
 * @author feeling.wang
 * 
 */
@Entity(name = "generatePmAdvertise")
@Table(name = "EC_VIEW_PM_ADVERTISE")
public class ViewPmAdvertise extends BaseEntity {
	private static final long serialVersionUID = 6998852476912749027L;

	@Id
	@Column(name = "ID")
	private Long id;

	@Column(name = "ADVERTISE_NAME")
	private String advName;

	@Column(name = "START_DATE")
	private Date startDate;

	@Column(name = "END_DATE")
	private Date endDate;

	@Column(name = "ADVERTISE_TYPE")
	private String advType;

	@Column(name = "ADVERTISE_STATUS")
	private String advStatus;

	@Column(name = "MAIN_CATE_ID")
	private Long mainCateId;

	@Column(name = "yet_promo")
	private int yetPromo;

	@Column(name = "start_promo")
	private int startPromo;

	@Column(name = "post_type")
	private String postType;

	@Column(name = "show_seq")
	private int showSeq;

	public String getAdvName() {
		return advName;
	}

	public String getAdvStatus() {
		return advStatus;
	}

	public String getAdvType() {
		return advType;
	}

	public Date getEndDate() {
		return endDate;
	}

	public Long getId() {
		return id;
	}

	public Long getMainCateId() {
		return mainCateId;
	}

	public String getPostType() {
		return postType;
	}

	public int getShowSeq() {
		return showSeq;
	}

	public Date getStartDate() {
		return startDate;
	}

	public int getStartPromo() {
		return startPromo;
	}

	public int getYetPromo() {
		return yetPromo;
	}

	public void setAdvName(String advName) {
		this.advName = advName;
	}

	public void setAdvStatus(String advStatus) {
		this.advStatus = advStatus;
	}

	public void setAdvType(String advType) {
		this.advType = advType;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setMainCateId(Long mainCateId) {
		this.mainCateId = mainCateId;
	}

	public void setPostType(String postType) {
		this.postType = postType;
	}

	public void setShowSeq(int showSeq) {
		this.showSeq = showSeq;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public void setStartPromo(int startPromo) {
		this.startPromo = startPromo;
	}

	public void setYetPromo(int yetPromo) {
		this.yetPromo = yetPromo;
	}

}
